package cn.com.freelibra.forum.dao;

import cn.com.freelibra.forum.po.JobSetting;
import cn.com.freelibra.forum.po.JobSettingExample;

import java.util.Date;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.github.pagehelper.Page;

import tk.mybatis.mapper.common.Mapper;

public interface JobSettingMapper extends Mapper<JobSetting> {
    long countByEntity(JobSettingExample example);

    int deleteByEntity(JobSettingExample example);

    List<JobSetting> selectByEntity(JobSettingExample example);

    int updateByEntitySelective(@Param("record") JobSetting record, @Param("example") JobSettingExample example);

    int updateByEntity(@Param("record") JobSetting record, @Param("example") JobSettingExample example);
    
    Page<Map<String, Object>> selectJobSetting(@Param("keyword")String keyword);

	void updateExecuteByName(String jobName, Date date);

	void updateJobSetting(@Param("record") JobSetting record);
}